package com.isoftstone.spring.subject.config02;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.Map;

@Configuration
@ConfigurationProperties(prefix ="config-app")
@Data
public class ConfigAppConfig {
  @ApiModelProperty("需替换的map")
  private  Map<String,String> replaceValue;
  private String key;
  private String name;

  @Override
  public String toString() {
    return "ConfigAppConfig{" +
            "replaceValue=" + replaceValue +
            ", key='" + key + '\'' +
            ", name='" + name + '\'' +
            '}';
  }

}
